package com.yxw.springmvc.userBehavior.service.impl;

import com.yxw.springmvc.userBehavior.mapper.BaseTimeMapper;
import com.yxw.springmvc.userBehavior.service.BaseTimeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;

/**
 * Created by hp on 2016/9/23.
 */
@Service
@Slf4j
public class BaseTimeServiceImpl implements BaseTimeService{

    @Resource
    private BaseTimeMapper baseTimeMapper;

    @Override
    public Date getSysdate() {
        Date date = baseTimeMapper.getSysdate();
        return date;
    }
}
